<?php
namespace app\admin\validate;
use think\Validate;

class WebsiteValidate extends Validate {
    protected $rule =   [
        'webtitle'  => 'require',
        'weburl' => 'require',
    ];

    protected $message  =   [
        'website.require' => '网站名不能为空',
        'weburl.require'   => '网站URL不能为空',
    ];

}
